
<script type="text/javascript">
    function comprobar_formulario(id, form) {

        if (form['fiscal_id'].value != '' && form['name'].value != '' && form['username'].value != '' && form['password'].value != '' && form['password'].value == form['repassword'].value) {

            if (confirm('¿guardar los cambios en los datos?')) {
                form['quote_update'].value = "1";
                return true;
            }
        }

        return false;
    }
</script>

